{% extends "pc/layout.html" %} {% block content %}
<link rel="stylesheet" href="/css/pc/blog.min.css" />
<div id="blog">
  <ul>
    {% for blog in blogList %}
    <a href="/blogDetail/{{blog.id}}">
      <li>
        <img src="{{blog.img}}" alt="" />
        <div class="info">
          <p class="content-title">{{blog.title}}</p>
          <span class="time">
            {{
            blog.createdAt.toLocaleString('zh-CN',
            {year:'numeric',
            month:'2-digit',
            day:'2-digit',
            hour12:false,
            hour:'2-digit',
            minute:'2-digit',
            second:'2-digit'})
            }}
          </span>
          <span class="summerary">
            最近接触比较多的新手程序员和准程序员，和他们交流的过程中，我发现了一些通用问题，今
            天把这些问题整理出来，希望可以 帮助更多的朋友们。
          </span>
        </div>
      </li>
    </a>
    {% endfor %}
  </ul>
</div>
{% include "pc/aside.html" %} {% endblock %}
